package com.potevio.simulator.common;

/**
 * @CreateDate: 2021/10/15 17:51
 * @Author: tbh
 */
public enum ResultCode {
    SUCCESS(200,"成功"),
    ERROR(201,"失败");


    private Integer code;
    private String msg;

    ResultCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }



    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
